package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.pojo.Emp;
import com.itheima.pojo.PageResult;

import java.time.LocalDate;
import java.util.List;

public interface EmpService extends IService<Emp> {



    PageResult findEmpByPage(Integer page, Integer pageSize, String name, Integer gender, LocalDate begin, LocalDate end);

    void addEmp(Emp emp);

    Emp findById(Integer id);

    void updateEmp(Emp emp);

    void deleteEmp(List<Integer> ids);
}
